package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.OrderDetail;

import java.util.List;

/**
 * <p>
 * 订单明细表 服务类
 * </p>
 *
 * @author czx
 * @since 2022-04-28
 */
public interface IOrderDetailService extends IService<OrderDetail> {

    /**
     * 根据订单id查询
     *
     * @param orderId 订单id
     * @return 订单明细
     */
    List<OrderDetail> getByOrderId(Long orderId);
}
